package com.niiwoo.civet.mobile.vo.response.myloan;

import com.niiwoo.civet.account.enums.CanRefundEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ApiModel()
public class ImmediateRepaymentResponseVO {
    /**
     * 标的ID
     */
    @ApiModelProperty(value = "标的ID",  required = true)
    private Long projectId;

    /**
     * 还款日期
     */
    @ApiModelProperty(value = "还款日期",  required = true)
    private Date refundDate;

    /**
     * 还款金额
     */
    @ApiModelProperty(value = "还款金额",  required = true)
    private BigDecimal amount;



    /**
     * 当前期数
     */
    @ApiModelProperty(value = "当前期数",  required = true)
    private Integer currentPeriod;

    /**
     * 总期数
     */
    @ApiModelProperty(value = "总期数()",  required = true)
    private Integer totalPeriod;

    @ApiModelProperty(value = "借款账户余额",  required = true)
    private BigDecimal balanceAmountBorrower = BigDecimal.ZERO;

    @ApiModelProperty(value = "投资账户余额",  required = true)
    private BigDecimal balanceAmountInvestor = BigDecimal.ZERO;
    /**
     * 还款账户开通状态
     */
    @ApiModelProperty(value = "还款账户开通状态 99未开通，0未激活，1已激活,（当借款账户已激活时，业务参数非空）",  required = true)
    private Byte borrowerActive;

    @ApiModelProperty(value = "逾期天数",  required = true)
    private Integer overdueDays;

    @ApiModelProperty(value = "还款状态（1未还款，2已正常还款，3已逾期还款, 4提前结清还款）",  required = true)
    private Byte refundStatus;


    @ApiModelProperty(value = "还款动作状态（1可执行还款，2还款正在执行中）",  required = true)
    private Byte canRefund;
    @ApiModelProperty("渠道，app：你我金融，kaolalicai：考拉理财，tuandai：团贷网，当值为kaolalicai不需要验证存管")
    private String ChannelCode;
    
}
